package com.deyuanyun.pic.wf.service.impl;

import com.deyuanyun.pic.wf.domain.Node;
import com.deyuanyun.pic.wf.mapper.NodeMapper;
import com.deyuanyun.pic.wf.service.NodeService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NodeServiceImpl implements NodeService {
    @Autowired
    private NodeMapper nodeMapper;

    private static final Logger logger = LoggerFactory.getLogger(NodeServiceImpl.class);

    public Node selectByPrimaryKey(String id) {
        return this.nodeMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.nodeMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(Node record) {
        return this.nodeMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(Node record) {
        return this.nodeMapper.updateByPrimaryKey(record);
    }

    public int insert(Node record) {
        return this.nodeMapper.insert(record);
    }
}